function Jc(e,t){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))r(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(l){if(l.ep)return;l.ep=!0;const i=n(l);fetch(l.href,i)}})();function qc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yo={exports:{}},cl={},xo={exports:{}},R={};/** * @license React * react.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var lr=Symbol.for("react.element"),bc=Symbol.for("react.portal"),ed=Symbol.for("react.fragment"),td=Symbol.for("react.strict_mode"),nd=Symbol.for("react.profiler"),rd=Symbol.for("react.provider"),ld=Symbol.for("react.context"),id=Symbol.for("react.forward_ref"),ad=Symbol.for("react.suspense"),sd=Symbol.for("react.memo"),od=Symbol.for("react.lazy"),qa=Symbol.iterator;function ud(e){return e===null||typeof e!="object"?null:(e=qa&&e[qa]||e["@@iterator"],typeof e=="function"?e:null)}var wo={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ko=Object.assign,So={};function cn(e,t,n){this.props=e,this.context=t,this.refs=So,this.updater=n||wo}cn.prototype.isReactComponent={};cn.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};cn.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function No(){}No.prototype=cn.prototype;function ta(e,t,n){this.props=e,this.context=t,this.refs=So,this.updater=n||wo}var na=ta.prototype=new No;na.constructor=ta;ko(na,cn.prototype);na.isPureReactComponent=!0;var ba=Array.isArray,jo=Object.prototype.hasOwnProperty,ra={current:null},Co={key:!0,ref:!0,__self:!0,__source:!0};function Eo(e,t,n){var r,l={},i=null,a=null;if(t!=null)for(r in t.ref!==void 0&&(a=t.ref),t.key!==void 0&&(i=""+t.key),t)jo.call(t,r)&&!Co.hasOwnProperty(r)&&(l[r]=t[r]);var o=arguments.length-2;if(o===1)l.children=n;else if(1>>1,q=C[Q];if(0>>1;Ql(Rl,L))wtl(cr,Rl)?(C[Q]=cr,C[wt]=L,Q=wt):(C[Q]=Rl,C[xt]=L,Q=xt);else if(wtl(cr,L))C[Q]=cr,C[wt]=L,Q=wt;else break e}}return M}function l(C,M){var L=C.sortIndex-M.sortIndex;return L!==0?L:C.id-M.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var a=Date,o=a.now();e.unstable_now=function(){return a.now()-o}}var u=[],c=[],h=1,m=null,v=3,x=!1,w=!1,k=!1,j=typeof setTimeout=="function"?setTimeout:null,f=typeof clearTimeout=="function"?clearTimeout:null,d=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function p(C){for(var M=n(c);M!==null;){if(M.callback===null)r(c);else if(M.startTime<=C)r(c),M.sortIndex=M.expirationTime,t(u,M);else break;M=n(c)}}function g(C){if(k=!1,p(C),!w)if(n(u)!==null)w=!0,Ml(S);else{var M=n(c);M!==null&&Ll(g,M.startTime-C)}}function S(C,M){w=!1,k&&(k=!1,f(P),P=-1),x=!0;var L=v;try{for(p(M),m=n(u);m!==null&&(!(m.expirationTime>M)||C&&!Pe());){var Q=m.callback;if(typeof Q=="function"){m.callback=null,v=m.priorityLevel;var q=Q(m.expirationTime<=M);M=e.unstable_now(),typeof q=="function"?m.callback=q:m===n(u)&&r(u),p(M)}else r(u);m=n(u)}if(m!==null)var ur=!0;else{var xt=n(c);xt!==null&&Ll(g,xt.startTime-M),ur=!1}return ur}finally{m=null,v=L,x=!1}}var z=!1,_=null,P=-1,K=5,T=-1;function Pe(){return!(e.unstable_now()-TC||125Q?(C.sortIndex=L,t(c,C),n(u)===null&&C===n(c)&&(k?(f(P),P=-1):k=!0,Ll(g,L-Q))):(C.sortIndex=q,t(u,C),w||x||(w=!0,Ml(S))),C},e.unstable_shouldYield=Pe,e.unstable_wrapCallback=function(C){var M=v;return function(){var L=v;v=M;try{return C.apply(this,arguments)}finally{v=L}}}})(Lo);Mo.exports=Lo;var Sd=Mo.exports;/** * @license React * react-dom.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Nd=E,we=Sd;function y(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),si=Object.prototype.hasOwnProperty,jd=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ts={},ns={};function Cd(e){return si.call(ns,e)?!0:si.call(ts,e)?!1:jd.test(e)?ns[e]=!0:(ts[e]=!0,!1)}function Ed(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function zd(e,t,n,r){if(t===null||typeof t>"u"||Ed(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function de(e,t,n,r,l,i,a){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var re={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){re[e]=new de(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];re[t]=new de(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){re[e]=new de(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){re[e]=new de(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){re[e]=new de(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){re[e]=new de(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){re[e]=new de(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){re[e]=new de(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){re[e]=new de(e,5,!1,e.toLowerCase(),null,!1,!1)});var ia=/[\-:]([a-z])/g;function aa(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(ia,aa);re[t]=new de(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(ia,aa);re[t]=new de(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(ia,aa);re[t]=new de(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){re[e]=new de(e,1,!1,e.toLowerCase(),null,!1,!1)});re.xlinkHref=new de("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){re[e]=new de(e,1,!1,e.toLowerCase(),null,!0,!0)});function sa(e,t,n,r){var l=re.hasOwnProperty(t)?re[t]:null;(l!==null?l.type!==0:r||!(2o||l[a]!==i[o]){var u=` `+l[a].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=a&&0<=o);break}}}finally{Ol=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Cn(e):""}function _d(e){switch(e.tag){case 5:return Cn(e.type);case 16:return Cn("Lazy");case 13:return Cn("Suspense");case 19:return Cn("SuspenseList");case 0:case 2:case 15:return e=Fl(e.type,!1),e;case 11:return e=Fl(e.type.render,!1),e;case 1:return e=Fl(e.type,!0),e;default:return""}}function di(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Bt:return"Fragment";case Dt:return"Portal";case oi:return"Profiler";case oa:return"StrictMode";case ui:return"Suspense";case ci:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Io:return(e.displayName||"Context")+".Consumer";case To:return(e._context.displayName||"Context")+".Provider";case ua:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case ca:return t=e.displayName||null,t!==null?t:di(e.type)||"Memo";case be:t=e._payload,e=e._init;try{return di(e(t))}catch{}}return null}function Pd(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return di(t);case 8:return t===oa?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function mt(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Fo(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Md(e){var t=Fo(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var l=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(a){r=""+a,i.call(this,a)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(a){r=""+a},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function pr(e){e._valueTracker||(e._valueTracker=Md(e))}function Ao(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=Fo(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function Ur(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function fi(e,t){var n=t.checked;return W({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function ls(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=mt(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Do(e,t){t=t.checked,t!=null&&sa(e,"checked",t,!1)}function pi(e,t){Do(e,t);var n=mt(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?mi(e,t.type,n):t.hasOwnProperty("defaultValue")&&mi(e,t.type,mt(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function is(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function mi(e,t,n){(t!=="number"||Ur(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var En=Array.isArray;function Zt(e,t,n,r){if(e=e.options,t){t={};for(var l=0;l"+t.valueOf().toString()+"",t=mr.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function Un(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var Mn={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ld=["Webkit","ms","Moz","O"];Object.keys(Mn).forEach(function(e){Ld.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Mn[t]=Mn[e]})});function Vo(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||Mn.hasOwnProperty(e)&&Mn[e]?(""+t).trim():t+"px"}function Wo(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,l=Vo(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,l):e[n]=l}}var Rd=W({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function gi(e,t){if(t){if(Rd[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(y(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(y(61))}if(t.style!=null&&typeof t.style!="object")throw Error(y(62))}}function yi(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var xi=null;function da(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var wi=null,Jt=null,qt=null;function os(e){if(e=sr(e)){if(typeof wi!="function")throw Error(y(280));var t=e.stateNode;t&&(t=hl(t),wi(e.stateNode,e.type,t))}}function Ho(e){Jt?qt?qt.push(e):qt=[e]:Jt=e}function Ko(){if(Jt){var e=Jt,t=qt;if(qt=Jt=null,os(e),t)for(e=0;e>>=0,e===0?32:31-(Wd(e)/Hd|0)|0}var hr=64,vr=4194304;function zn(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Hr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,a=n&268435455;if(a!==0){var o=a&~l;o!==0?r=zn(o):(i&=a,i!==0&&(r=zn(i)))}else a=n&~l,a!==0?r=zn(a):i!==0&&(r=zn(i));if(r===0)return 0;if(t!==0&&t!==r&&!(t&l)&&(l=r&-r,i=t&-t,l>=i||l===16&&(i&4194240)!==0))return t;if(r&4&&(r|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=r;0n;n++)t.push(e);return t}function ir(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ie(t),e[t]=n}function Gd(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=Rn),gs=" ",ys=!1;function du(e,t){switch(e){case"keyup":return Nf.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fu(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Ut=!1;function Cf(e,t){switch(e){case"compositionend":return fu(t);case"keypress":return t.which!==32?null:(ys=!0,gs);case"textInput":return e=t.data,e===gs&&ys?null:e;default:return null}}function Ef(e,t){if(Ut)return e==="compositionend"||!xa&&du(e,t)?(e=uu(),Lr=va=rt=null,Ut=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=Ss(n)}}function vu(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?vu(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function gu(){for(var e=window,t=Ur();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Ur(e.document)}return t}function wa(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Of(e){var t=gu(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&vu(n.ownerDocument.documentElement,n)){if(r!==null&&wa(n)){if(t=r.start,e=r.end,e===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if(e=(t=n.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=n.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Ns(n,i);var a=Ns(n,r);l&&a&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n=document.documentMode,$t=null,Ei=null,In=null,zi=!1;function js(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;zi||$t==null||$t!==Ur(r)||(r=$t,"selectionStart"in r&&wa(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),In&&Qn(In,r)||(In=r,r=Xr(Ei,"onSelect"),0Ht||(e.current=Ti[Ht],Ti[Ht]=null,Ht--)}function A(e,t){Ht++,Ti[Ht]=e.current,e.current=t}var ht={},se=gt(ht),me=gt(!1),Pt=ht;function rn(e,t){var n=e.type.contextTypes;if(!n)return ht;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in n)l[i]=t[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function he(e){return e=e.childContextTypes,e!=null}function Yr(){B(me),B(se)}function Ls(e,t,n){if(se.current!==ht)throw Error(y(168));A(se,t),A(me,n)}function Eu(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var l in r)if(!(l in t))throw Error(y(108,Pd(e)||"Unknown",l));return W({},n,r)}function Zr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ht,Pt=se.current,A(se,e),A(me,me.current),!0}function Rs(e,t,n){var r=e.stateNode;if(!r)throw Error(y(169));n?(e=Eu(e,t,Pt),r.__reactInternalMemoizedMergedChildContext=e,B(me),B(se),A(se,e)):B(me),A(me,n)}var We=null,vl=!1,Zl=!1;function zu(e){We===null?We=[e]:We.push(e)}function Xf(e){vl=!0,zu(e)}function yt(){if(!Zl&&We!==null){Zl=!0;var e=0,t=O;try{var n=We;for(O=1;e>=a,l-=a,He=1<<32-Ie(t)+l|n<P?(K=_,_=null):K=_.sibling;var T=v(f,_,p[P],g);if(T===null){_===null&&(_=K);break}e&&_&&T.alternate===null&&t(f,_),d=i(T,d,P),z===null?S=T:z.sibling=T,z=T,_=K}if(P===p.length)return n(f,_),U&&kt(f,P),S;if(_===null){for(;PP?(K=_,_=null):K=_.sibling;var Pe=v(f,_,T.value,g);if(Pe===null){_===null&&(_=K);break}e&&_&&Pe.alternate===null&&t(f,_),d=i(Pe,d,P),z===null?S=Pe:z.sibling=Pe,z=Pe,_=K}if(T.done)return n(f,_),U&&kt(f,P),S;if(_===null){for(;!T.done;P++,T=p.next())T=m(f,T.value,g),T!==null&&(d=i(T,d,P),z===null?S=T:z.sibling=T,z=T);return U&&kt(f,P),S}for(_=r(f,_);!T.done;P++,T=p.next())T=x(_,f,P,T.value,g),T!==null&&(e&&T.alternate!==null&&_.delete(T.key===null?P:T.key),d=i(T,d,P),z===null?S=T:z.sibling=T,z=T);return e&&_.forEach(function(hn){return t(f,hn)}),U&&kt(f,P),S}function j(f,d,p,g){if(typeof p=="object"&&p!==null&&p.type===Bt&&p.key===null&&(p=p.props.children),typeof p=="object"&&p!==null){switch(p.$$typeof){case fr:e:{for(var S=p.key,z=d;z!==null;){if(z.key===S){if(S=p.type,S===Bt){if(z.tag===7){n(f,z.sibling),d=l(z,p.props.children),d.return=f,f=d;break e}}else if(z.elementType===S||typeof S=="object"&&S!==null&&S.$$typeof===be&&Os(S)===z.type){n(f,z.sibling),d=l(z,p.props),d.ref=Sn(f,z,p),d.return=f,f=d;break e}n(f,z);break}else t(f,z);z=z.sibling}p.type===Bt?(d=zt(p.props.children,f.mode,g,p.key),d.return=f,f=d):(g=Br(p.type,p.key,p.props,null,f.mode,g),g.ref=Sn(f,d,p),g.return=f,f=g)}return a(f);case Dt:e:{for(z=p.key;d!==null;){if(d.key===z)if(d.tag===4&&d.stateNode.containerInfo===p.containerInfo&&d.stateNode.implementation===p.implementation){n(f,d.sibling),d=l(d,p.children||[]),d.return=f,f=d;break e}else{n(f,d);break}else t(f,d);d=d.sibling}d=li(p,f.mode,g),d.return=f,f=d}return a(f);case be:return z=p._init,j(f,d,z(p._payload),g)}if(En(p))return w(f,d,p,g);if(gn(p))return k(f,d,p,g);Nr(f,p)}return typeof p=="string"&&p!==""||typeof p=="number"?(p=""+p,d!==null&&d.tag===6?(n(f,d.sibling),d=l(d,p),d.return=f,f=d):(n(f,d),d=ri(p,f.mode,g),d.return=f,f=d),a(f)):n(f,d)}return j}var an=Lu(!0),Ru=Lu(!1),br=gt(null),el=null,Xt=null,ja=null;function Ca(){ja=Xt=el=null}function Ea(e){var t=br.current;B(br),e._currentValue=t}function Fi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function en(e,t){el=e,ja=Xt=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&t&&(pe=!0),e.firstContext=null)}function ze(e){var t=e._currentValue;if(ja!==e)if(e={context:e,memoizedValue:t,next:null},Xt===null){if(el===null)throw Error(y(308));Xt=e,el.dependencies={lanes:0,firstContext:e}}else Xt=Xt.next=e;return t}var jt=null;function za(e){jt===null?jt=[e]:jt.push(e)}function Tu(e,t,n,r){var l=t.interleaved;return l===null?(n.next=n,za(t)):(n.next=l.next,l.next=n),t.interleaved=n,Ye(e,r)}function Ye(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,n=e.alternate,n!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var et=!1;function _a(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Iu(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Qe(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ct(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,I&2){var l=r.pending;return l===null?t.next=t:(t.next=l.next,l.next=t),r.pending=t,Ye(e,n)}return l=r.interleaved,l===null?(t.next=t,za(r)):(t.next=l.next,l.next=t),r.interleaved=t,Ye(e,n)}function Tr(e,t,n){if(t=t.updateQueue,t!==null&&(t=t.shared,(n&4194240)!==0)){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,pa(e,n)}}function Fs(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,n===r)){var l=null,i=null;if(n=n.firstBaseUpdate,n!==null){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};i===null?l=i=a:i=i.next=a,n=n.next}while(n!==null);i===null?l=i=t:i=i.next=t}else l=i=t;n={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=n;return}e=n.lastBaseUpdate,e===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function tl(e,t,n,r){var l=e.updateQueue;et=!1;var i=l.firstBaseUpdate,a=l.lastBaseUpdate,o=l.shared.pending;if(o!==null){l.shared.pending=null;var u=o,c=u.next;u.next=null,a===null?i=c:a.next=c,a=u;var h=e.alternate;h!==null&&(h=h.updateQueue,o=h.lastBaseUpdate,o!==a&&(o===null?h.firstBaseUpdate=c:o.next=c,h.lastBaseUpdate=u))}if(i!==null){var m=l.baseState;a=0,h=c=u=null,o=i;do{var v=o.lane,x=o.eventTime;if((r&v)===v){h!==null&&(h=h.next={eventTime:x,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var w=e,k=o;switch(v=t,x=n,k.tag){case 1:if(w=k.payload,typeof w=="function"){m=w.call(x,m,v);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=k.payload,v=typeof w=="function"?w.call(x,m,v):w,v==null)break e;m=W({},m,v);break e;case 2:et=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,v=l.effects,v===null?l.effects=[o]:v.push(o))}else x={eventTime:x,lane:v,tag:o.tag,payload:o.payload,callback:o.callback,next:null},h===null?(c=h=x,u=m):h=h.next=x,a|=v;if(o=o.next,o===null){if(o=l.shared.pending,o===null)break;v=o,o=v.next,v.next=null,l.lastBaseUpdate=v,l.shared.pending=null}}while(!0);if(h===null&&(u=m),l.baseState=u,l.firstBaseUpdate=c,l.lastBaseUpdate=h,t=l.shared.interleaved,t!==null){l=t;do a|=l.lane,l=l.next;while(l!==t)}else i===null&&(l.shared.lanes=0);Rt|=a,e.lanes=a,e.memoizedState=m}}function As(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;tn?n:4,e(!0);var r=ql.transition;ql.transition={};try{e(!1),t()}finally{O=n,ql.transition=r}}function Ju(){return _e().memoizedState}function Jf(e,t,n){var r=ft(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},qu(e))bu(t,n);else if(n=Tu(e,t,n,r),n!==null){var l=ue();Oe(n,e,r,l),ec(n,t,r)}}function qf(e,t,n){var r=ft(e),l={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(qu(e))bu(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var a=t.lastRenderedState,o=i(a,n);if(l.hasEagerState=!0,l.eagerState=o,Fe(o,a)){var u=t.interleaved;u===null?(l.next=l,za(t)):(l.next=u.next,u.next=l),t.interleaved=l;return}}catch{}finally{}n=Tu(e,t,l,r),n!==null&&(l=ue(),Oe(n,e,r,l),ec(n,t,r))}}function qu(e){var t=e.alternate;return e===V||t!==null&&t===V}function bu(e,t){On=rl=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ec(e,t,n){if(n&4194240){var r=t.lanes;r&=e.pendingLanes,n|=r,t.lanes=n,pa(e,n)}}var ll={readContext:ze,useCallback:le,useContext:le,useEffect:le,useImperativeHandle:le,useInsertionEffect:le,useLayoutEffect:le,useMemo:le,useReducer:le,useRef:le,useState:le,useDebugValue:le,useDeferredValue:le,useTransition:le,useMutableSource:le,useSyncExternalStore:le,useId:le,unstable_isNewReconciler:!1},bf={readContext:ze,useCallback:function(e,t){return De().memoizedState=[e,t===void 0?null:t],e},useContext:ze,useEffect:Bs,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,Or(4194308,4,Qu.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Or(4194308,4,e,t)},useInsertionEffect:function(e,t){return Or(4,2,e,t)},useMemo:function(e,t){var n=De();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=De();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Jf.bind(null,V,e),[r.memoizedState,e]},useRef:function(e){var t=De();return e={current:e},t.memoizedState=e},useState:Ds,useDebugValue:Fa,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=Ds(!1),t=e[0];return e=Zf.bind(null,e[1]),De().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=V,l=De();if(U){if(n===void 0)throw Error(y(407));n=n()}else{if(n=t(),ee===null)throw Error(y(349));Lt&30||Du(r,t,n)}l.memoizedState=n;var i={value:n,getSnapshot:t};return l.queue=i,Bs(Uu.bind(null,r,i,e),[e]),r.flags|=2048,er(9,Bu.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=De(),t=ee.identifierPrefix;if(U){var n=Ke,r=He;n=(r&~(1<<32-Ie(r)-1)).toString(32)+n,t=":"+t+"R"+n,n=qn++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=a.createElement(n,{is:r.is}):(e=a.createElement(n),n==="select"&&(a=e,r.multiple?a.multiple=!0:r.size&&(a.size=r.size))):e=a.createElementNS(e,n),e[Be]=t,e[Yn]=r,cc(e,t,!1,!1),t.stateNode=e;e:{switch(a=yi(n,r),n){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;l<_n.length;l++)D(_n[l],e);l=r;break;case"source":D("error",e),l=r;break;case"img":case"image":case"link":D("error",e),D("load",e),l=r;break;case"details":D("toggle",e),l=r;break;case"input":ls(e,r),l=fi(e,r),D("invalid",e);break;case"option":l=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},l=W({},r,{value:void 0}),D("invalid",e);break;case"textarea":as(e,r),l=hi(e,r),D("invalid",e);break;default:l=r}gi(n,l),o=l;for(i in o)if(o.hasOwnProperty(i)){var u=o[i];i==="style"?Wo(e,u):i==="dangerouslySetInnerHTML"?(u=u?u.__html:void 0,u!=null&&$o(e,u)):i==="children"?typeof u=="string"?(n!=="textarea"||u!=="")&&Un(e,u):typeof u=="number"&&Un(e,""+u):i!=="suppressContentEditableWarning"&&i!=="suppressHydrationWarning"&&i!=="autoFocus"&&(Bn.hasOwnProperty(i)?u!=null&&i==="onScroll"&&D("scroll",e):u!=null&&sa(e,i,u,a))}switch(n){case"input":pr(e),is(e,r,!1);break;case"textarea":pr(e),ss(e);break;case"option":r.value!=null&&e.setAttribute("value",""+mt(r.value));break;case"select":e.multiple=!!r.multiple,i=r.value,i!=null?Zt(e,!!r.multiple,i,!1):r.defaultValue!=null&&Zt(e,!!r.multiple,r.defaultValue,!0);break;default:typeof l.onClick=="function"&&(e.onclick=Gr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}return ie(t),null;case 6:if(e&&t.stateNode!=null)fc(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(y(166));if(n=Ct(Jn.current),Ct($e.current),Sr(t)){if(r=t.stateNode,n=t.memoizedProps,r[Be]=t,(i=r.nodeValue!==n)&&(e=xe,e!==null))switch(e.tag){case 3:kr(r.nodeValue,n,(e.mode&1)!==0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&kr(r.nodeValue,n,(e.mode&1)!==0)}i&&(t.flags|=4)}else r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r),r[Be]=t,t.stateNode=r}return ie(t),null;case 13:if(B($),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(U&&ye!==null&&t.mode&1&&!(t.flags&128))Mu(),ln(),t.flags|=98560,i=!1;else if(i=Sr(t),r!==null&&r.dehydrated!==null){if(e===null){if(!i)throw Error(y(318));if(i=t.memoizedState,i=i!==null?i.dehydrated:null,!i)throw Error(y(317));i[Be]=t}else ln(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;ie(t),i=!1}else Te!==null&&(qi(Te),Te=null),i=!0;if(!i)return t.flags&65536?t:null}return t.flags&128?(t.lanes=n,t):(r=r!==null,r!==(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,t.mode&1&&(e===null||$.current&1?Z===0&&(Z=3):Wa())),t.updateQueue!==null&&(t.flags|=4),ie(t),null);case 4:return sn(),Hi(e,t),e===null&&Xn(t.stateNode.containerInfo),ie(t),null;case 10:return Ea(t.type._context),ie(t),null;case 17:return he(t.type)&&Yr(),ie(t),null;case 19:if(B($),i=t.memoizedState,i===null)return ie(t),null;if(r=(t.flags&128)!==0,a=i.rendering,a===null)if(r)Nn(i,!1);else{if(Z!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(a=nl(e),a!==null){for(t.flags|=128,Nn(i,!1),r=a.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)i=n,e=r,i.flags&=14680066,a=i.alternate,a===null?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=a.childLanes,i.lanes=a.lanes,i.child=a.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=a.memoizedProps,i.memoizedState=a.memoizedState,i.updateQueue=a.updateQueue,i.type=a.type,e=a.dependencies,i.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return A($,$.current&1|2),t.child}e=e.sibling}i.tail!==null&&X()>un&&(t.flags|=128,r=!0,Nn(i,!1),t.lanes=4194304)}else{if(!r)if(e=nl(a),e!==null){if(t.flags|=128,r=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),Nn(i,!0),i.tail===null&&i.tailMode==="hidden"&&!a.alternate&&!U)return ie(t),null}else 2*X()-i.renderingStartTime>un&&n!==1073741824&&(t.flags|=128,r=!0,Nn(i,!1),t.lanes=4194304);i.isBackwards?(a.sibling=t.child,t.child=a):(n=i.last,n!==null?n.sibling=a:t.child=a,i.last=a)}return i.tail!==null?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=X(),t.sibling=null,n=$.current,A($,r?n&1|2:n&1),t):(ie(t),null);case 22:case 23:return Va(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&t.mode&1?ge&1073741824&&(ie(t),t.subtreeFlags&6&&(t.flags|=8192)):ie(t),null;case 24:return null;case 25:return null}throw Error(y(156,t.tag))}function sp(e,t){switch(Sa(t),t.tag){case 1:return he(t.type)&&Yr(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return sn(),B(me),B(se),La(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return Ma(t),null;case 13:if(B($),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(y(340));ln()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return B($),null;case 4:return sn(),null;case 10:return Ea(t.type._context),null;case 22:case 23:return Va(),null;case 24:return null;default:return null}}var Cr=!1,ae=!1,op=typeof WeakSet=="function"?WeakSet:Set,N=null;function Gt(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){H(e,t,r)}else n.current=null}function Ki(e,t,n){try{n()}catch(r){H(e,t,r)}}var Zs=!1;function up(e,t){if(_i=Kr,e=gu(),wa(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var r=n.getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var a=0,o=-1,u=-1,c=0,h=0,m=e,v=null;t:for(;;){for(var x;m!==n||l!==0&&m.nodeType!==3||(o=a+l),m!==i||r!==0&&m.nodeType!==3||(u=a+r),m.nodeType===3&&(a+=m.nodeValue.length),(x=m.firstChild)!==null;)v=m,m=x;for(;;){if(m===e)break t;if(v===n&&++c===l&&(o=a),v===i&&++h===r&&(u=a),(x=m.nextSibling)!==null)break;m=v,v=m.parentNode}m=x}n=o===-1||u===-1?null:{start:o,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(Pi={focusedElem:e,selectionRange:n},Kr=!1,N=t;N!==null;)if(t=N,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,N=e;else for(;N!==null;){t=N;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,j=w.memoizedState,f=t.stateNode,d=f.getSnapshotBeforeUpdate(t.elementType===t.type?k:Le(t.type,k),j);f.__reactInternalSnapshotBeforeUpdate=d}break;case 3:var p=t.stateNode.containerInfo;p.nodeType===1?p.textContent="":p.nodeType===9&&p.documentElement&&p.removeChild(p.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(g){H(t,t.return,g)}if(e=t.sibling,e!==null){e.return=t.return,N=e;break}N=t.return}return w=Zs,Zs=!1,w}function Fn(e,t,n){var r=t.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&Ki(t,n,i)}l=l.next}while(l!==r)}}function xl(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function Qi(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t=="function"?t(e):t.current=e}}function pc(e){var t=e.alternate;t!==null&&(e.alternate=null,pc(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[Be],delete t[Yn],delete t[Ri],delete t[Kf],delete t[Qf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function mc(e){return e.tag===5||e.tag===3||e.tag===4}function Js(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||mc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Xi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Gr));else if(r!==4&&(e=e.child,e!==null))for(Xi(e,t,n),e=e.sibling;e!==null;)Xi(e,t,n),e=e.sibling}function Gi(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Gi(e,t,n),e=e.sibling;e!==null;)Gi(e,t,n),e=e.sibling}var te=null,Re=!1;function qe(e,t,n){for(n=n.child;n!==null;)hc(e,t,n),n=n.sibling}function hc(e,t,n){if(Ue&&typeof Ue.onCommitFiberUnmount=="function")try{Ue.onCommitFiberUnmount(dl,n)}catch{}switch(n.tag){case 5:ae||Gt(n,t);case 6:var r=te,l=Re;te=null,qe(e,t,n),te=r,Re=l,te!==null&&(Re?(e=te,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):te.removeChild(n.stateNode));break;case 18:te!==null&&(Re?(e=te,n=n.stateNode,e.nodeType===8?Yl(e.parentNode,n):e.nodeType===1&&Yl(e,n),Hn(e)):Yl(te,n.stateNode));break;case 4:r=te,l=Re,te=n.stateNode.containerInfo,Re=!0,qe(e,t,n),te=r,Re=l;break;case 0:case 11:case 14:case 15:if(!ae&&(r=n.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,a=i.destroy;i=i.tag,a!==void 0&&(i&2||i&4)&&Ki(n,t,a),l=l.next}while(l!==r)}qe(e,t,n);break;case 1:if(!ae&&(Gt(n,t),r=n.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(o){H(n,t,o)}qe(e,t,n);break;case 21:qe(e,t,n);break;case 22:n.mode&1?(ae=(r=ae)||n.memoizedState!==null,qe(e,t,n),ae=r):qe(e,t,n);break;default:qe(e,t,n)}}function qs(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new op),t.forEach(function(r){var l=yp.bind(null,e,r);n.has(r)||(n.add(r),r.then(l,l))})}}function Me(e,t){var n=t.deletions;if(n!==null)for(var r=0;rl&&(l=a),r&=~i}if(r=l,r=X()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*dp(r/1960))-r,10e?16:e,lt===null)var r=!1;else{if(e=lt,lt=null,sl=0,I&6)throw Error(y(331));var l=I;for(I|=4,N=e.current;N!==null;){var i=N,a=i.child;if(N.flags&16){var o=i.deletions;if(o!==null){for(var u=0;uX()-Ua?Et(e,0):Ba|=n),ve(e,t)}function Nc(e,t){t===0&&(e.mode&1?(t=vr,vr<<=1,!(vr&130023424)&&(vr=4194304)):t=1);var n=ue();e=Ye(e,t),e!==null&&(ir(e,t,n),ve(e,n))}function gp(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),Nc(e,n)}function yp(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(n=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(t),Nc(e,n)}var jc;jc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||me.current)pe=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return pe=!1,ip(e,t,n);pe=!!(e.flags&131072)}else pe=!1,U&&t.flags&1048576&&_u(t,qr,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Fr(e,t),e=t.pendingProps;var l=rn(t,se.current);en(t,n),l=Ta(null,t,r,e,l,n);var i=Ia();return t.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,he(r)?(i=!0,Zr(t)):i=!1,t.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,_a(t),l.updater=yl,t.stateNode=l,l._reactInternals=t,Di(t,r,e,n),t=$i(null,t,r,!0,i,n)):(t.tag=0,U&&i&&ka(t),oe(null,t,l,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Fr(e,t),e=t.pendingProps,l=r._init,r=l(r._payload),t.type=r,l=t.tag=wp(r),e=Le(r,e),l){case 0:t=Ui(null,t,r,e,n);break e;case 1:t=Xs(null,t,r,e,n);break e;case 11:t=Ks(null,t,r,e,n);break e;case 14:t=Qs(null,t,r,Le(r.type,e),n);break e}throw Error(y(306,r,""))}return t;case 0:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Ui(e,t,r,l,n);case 1:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Xs(e,t,r,l,n);case 3:e:{if(sc(t),e===null)throw Error(y(387));r=t.pendingProps,i=t.memoizedState,l=i.element,Iu(e,t),tl(t,r,null,n);var a=t.memoizedState;if(r=a.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:a.cache,pendingSuspenseBoundaries:a.pendingSuspenseBoundaries,transitions:a.transitions},t.updateQueue.baseState=i,t.memoizedState=i,t.flags&256){l=on(Error(y(423)),t),t=Gs(e,t,r,n,l);break e}else if(r!==l){l=on(Error(y(424)),t),t=Gs(e,t,r,n,l);break e}else for(ye=ut(t.stateNode.containerInfo.firstChild),xe=t,U=!0,Te=null,n=Ru(t,null,r,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(ln(),r===l){t=Ze(e,t,n);break e}oe(e,t,r,n)}t=t.child}return t;case 5:return Ou(t),e===null&&Oi(t),r=t.type,l=t.pendingProps,i=e!==null?e.memoizedProps:null,a=l.children,Mi(r,l)?a=null:i!==null&&Mi(r,i)&&(t.flags|=32),ac(e,t),oe(e,t,a,n),t.child;case 6:return e===null&&Oi(t),null;case 13:return oc(e,t,n);case 4:return Pa(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=an(t,null,r,n):oe(e,t,r,n),t.child;case 11:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Ks(e,t,r,l,n);case 7:return oe(e,t,t.pendingProps,n),t.child;case 8:return oe(e,t,t.pendingProps.children,n),t.child;case 12:return oe(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,l=t.pendingProps,i=t.memoizedProps,a=l.value,A(br,r._currentValue),r._currentValue=a,i!==null)if(Fe(i.value,a)){if(i.children===l.children&&!me.current){t=Ze(e,t,n);break e}}else for(i=t.child,i!==null&&(i.return=t);i!==null;){var o=i.dependencies;if(o!==null){a=i.child;for(var u=o.firstContext;u!==null;){if(u.context===r){if(i.tag===1){u=Qe(-1,n&-n),u.tag=2;var c=i.updateQueue;if(c!==null){c=c.shared;var h=c.pending;h===null?u.next=u:(u.next=h.next,h.next=u),c.pending=u}}i.lanes|=n,u=i.alternate,u!==null&&(u.lanes|=n),Fi(i.return,n,t),o.lanes|=n;break}u=u.next}}else if(i.tag===10)a=i.type===t.type?null:i.child;else if(i.tag===18){if(a=i.return,a===null)throw Error(y(341));a.lanes|=n,o=a.alternate,o!==null&&(o.lanes|=n),Fi(a,n,t),a=i.sibling}else a=i.child;if(a!==null)a.return=i;else for(a=i;a!==null;){if(a===t){a=null;break}if(i=a.sibling,i!==null){i.return=a.return,a=i;break}a=a.return}i=a}oe(e,t,l.children,n),t=t.child}return t;case 9:return l=t.type,r=t.pendingProps.children,en(t,n),l=ze(l),r=r(l),t.flags|=1,oe(e,t,r,n),t.child;case 14:return r=t.type,l=Le(r,t.pendingProps),l=Le(r.type,l),Qs(e,t,r,l,n);case 15:return lc(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,l=t.pendingProps,l=t.elementType===r?l:Le(r,l),Fr(e,t),t.tag=1,he(r)?(e=!0,Zr(t)):e=!1,en(t,n),tc(t,r,l),Di(t,r,l,n),$i(null,t,r,!0,e,n);case 19:return uc(e,t,n);case 22:return ic(e,t,n)}throw Error(y(156,t.tag))};function Cc(e,t){return qo(e,t)}function xp(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ce(e,t,n,r){return new xp(e,t,n,r)}function Ha(e){return e=e.prototype,!(!e||!e.isReactComponent)}function wp(e){if(typeof e=="function")return Ha(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ua)return 11;if(e===ca)return 14}return 2}function pt(e,t){var n=e.alternate;return n===null?(n=Ce(e.tag,t,e.key,e.mode),n.elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=e.flags&14680064,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Br(e,t,n,r,l,i){var a=2;if(r=e,typeof e=="function")Ha(e)&&(a=1);else if(typeof e=="string")a=5;else e:switch(e){case Bt:return zt(n.children,l,i,t);case oa:a=8,l|=8;break;case oi:return e=Ce(12,n,t,l|2),e.elementType=oi,e.lanes=i,e;case ui:return e=Ce(13,n,t,l),e.elementType=ui,e.lanes=i,e;case ci:return e=Ce(19,n,t,l),e.elementType=ci,e.lanes=i,e;case Oo:return kl(n,l,i,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case To:a=10;break e;case Io:a=9;break e;case ua:a=11;break e;case ca:a=14;break e;case be:a=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return t=Ce(a,n,t,l),t.elementType=e,t.type=r,t.lanes=i,t}function zt(e,t,n,r){return e=Ce(7,e,r,t),e.lanes=n,e}function kl(e,t,n,r){return e=Ce(22,e,r,t),e.elementType=Oo,e.lanes=n,e.stateNode={isHidden:!1},e}function ri(e,t,n){return e=Ce(6,e,null,t),e.lanes=n,e}function li(e,t,n){return t=Ce(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function kp(e,t,n,r,l){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=Dl(0),this.expirationTimes=Dl(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Dl(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function Ka(e,t,n,r,l,i,a,o,u){return e=new kp(e,t,n,o,u),t===1?(t=1,i===!0&&(t|=8)):t=0,i=Ce(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},_a(i),e}function Sp(e,t,n){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pc)}catch(e){console.error(e)}}Pc(),Po.exports=ke;var zp=Po.exports,Mc,ao=zp;Mc=ao.createRoot,ao.hydrateRoot;/** * @remix-run/router v1.23.0 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function nr(){return nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function Lc(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Pp(){return Math.random().toString(36).substr(2,8)}function oo(e,t){return{usr:e.state,key:e.key,idx:t}}function bi(e,t,n,r){return n===void 0&&(n=null),nr({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?pn(t):t,{state:n,key:t&&t.key||r||Pp()})}function Rc(e){let{pathname:t="/",search:n="",hash:r=""}=e;return n&&n!=="?"&&(t+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(t+=r.charAt(0)==="#"?r:"#"+r),t}function pn(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}function Mp(e,t,n,r){r===void 0&&(r={});let{window:l=document.defaultView,v5Compat:i=!1}=r,a=l.history,o=it.Pop,u=null,c=h();c==null&&(c=0,a.replaceState(nr({},a.state,{idx:c}),""));function h(){return(a.state||{idx:null}).idx}function m(){o=it.Pop;let j=h(),f=j==null?null:j-c;c=j,u&&u({action:o,location:k.location,delta:f})}function v(j,f){o=it.Push;let d=bi(k.location,j,f);c=h()+1;let p=oo(d,c),g=k.createHref(d);try{a.pushState(p,"",g)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;l.location.assign(g)}i&&u&&u({action:o,location:k.location,delta:1})}function x(j,f){o=it.Replace;let d=bi(k.location,j,f);c=h();let p=oo(d,c),g=k.createHref(d);a.replaceState(p,"",g),i&&u&&u({action:o,location:k.location,delta:0})}function w(j){let f=l.location.origin!=="null"?l.location.origin:l.location.href,d=typeof j=="string"?j:Rc(j);return d=d.replace(/ $/,"%20"),J(f,"No window.location.(origin|href) available to create URL for href: "+d),new URL(d,f)}let k={get action(){return o},get location(){return e(l,a)},listen(j){if(u)throw new Error("A history only accepts one active listener");return l.addEventListener(so,m),u=j,()=>{l.removeEventListener(so,m),u=null}},createHref(j){return t(l,j)},createURL:w,encodeLocation(j){let f=w(j);return{pathname:f.pathname,search:f.search,hash:f.hash}},push:v,replace:x,go(j){return a.go(j)}};return k}var uo;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(uo||(uo={}));function Lp(e,t,n){return n===void 0&&(n="/"),Rp(e,t,n)}function Rp(e,t,n,r){let l=typeof t=="string"?pn(t):t,i=Oc(l.pathname||"/",n);if(i==null)return null;let a=Tc(e);Tp(a);let o=null;for(let u=0;o==null&&u{let u={relativePath:o===void 0?i.path||"":o,caseSensitive:i.caseSensitive===!0,childrenIndex:a,route:i};u.relativePath.startsWith("/")&&(J(u.relativePath.startsWith(r),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(r.length));let c=_t([r,u.relativePath]),h=n.concat(u);i.children&&i.children.length>0&&(J(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+c+'".')),Tc(i.children,t,h,c)),!(i.path==null&&!i.index)&&t.push({path:c,score:Up(c,i.index),routesMeta:h})};return e.forEach((i,a)=>{var o;if(i.path===""||!((o=i.path)!=null&&o.includes("?")))l(i,a);else for(let u of Ic(i.path))l(i,a,u)}),t}function Ic(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,l=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return l?[i,""]:[i];let a=Ic(r.join("/")),o=[];return o.push(...a.map(u=>u===""?i:[i,u].join("/"))),l&&o.push(...a),o.map(u=>e.startsWith("/")&&u===""?"/":u)}function Tp(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:$p(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Ip=/^:[\w-]+$/,Op=3,Fp=2,Ap=1,Dp=10,Bp=-2,co=e=>e==="*";function Up(e,t){let n=e.split("/"),r=n.length;return n.some(co)&&(r+=Bp),t&&(r+=Fp),n.filter(l=>!co(l)).reduce((l,i)=>l+(Ip.test(i)?Op:i===""?Ap:Dp),r)}function $p(e,t){return e.length===t.length&&e.slice(0,-1).every((r,l)=>r===t[l])?e[e.length-1]-t[t.length-1]:0}function Vp(e,t,n){let{routesMeta:r}=e,l={},i="/",a=[];for(let o=0;o{let{paramName:v,isOptional:x}=h;if(v==="*"){let k=o[m]||"";a=i.slice(0,i.length-k.length).replace(/(.)\/+$/,"$1")}const w=o[m];return x&&!w?c[v]=void 0:c[v]=(w||"").replace(/%2F/g,"/"),c},{}),pathname:i,pathnameBase:a,pattern:e}}function Hp(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!0),Lc(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let r=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(a,o,u)=>(r.push({paramName:o,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(r.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),r]}function Kp(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return Lc(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Oc(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}function Qp(e,t){t===void 0&&(t="/");let{pathname:n,search:r="",hash:l=""}=typeof e=="string"?pn(e):e;return{pathname:n?n.startsWith("/")?n:Xp(n,t):t,search:qp(r),hash:bp(l)}}function Xp(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?n.length>1&&n.pop():l!=="."&&n.push(l)}),n.length>1?n.join("/"):"/"}function ii(e,t,n,r){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Gp(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Yp(e,t){let n=Gp(e);return t?n.map((r,l)=>l===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function Zp(e,t,n,r){r===void 0&&(r=!1);let l;typeof e=="string"?l=pn(e):(l=nr({},e),J(!l.pathname||!l.pathname.includes("?"),ii("?","pathname","search",l)),J(!l.pathname||!l.pathname.includes("#"),ii("#","pathname","hash",l)),J(!l.search||!l.search.includes("#"),ii("#","search","hash",l)));let i=e===""||l.pathname==="",a=i?"/":l.pathname,o;if(a==null)o=n;else{let m=t.length-1;if(!r&&a.startsWith("..")){let v=a.split("/");for(;v[0]==="..";)v.shift(),m-=1;l.pathname=v.join("/")}o=m>=0?t[m]:"/"}let u=Qp(l,o),c=a&&a!=="/"&&a.endsWith("/"),h=(i||a===".")&&n.endsWith("/");return!u.pathname.endsWith("/")&&(c||h)&&(u.pathname+="/"),u}const _t=e=>e.join("/").replace(/\/\/+/g,"/"),Jp=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),qp=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,bp=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;function em(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Fc=["post","put","patch","delete"];new Set(Fc);const tm=["get",...Fc];new Set(tm);/** * React Router v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */function rr(){return rr=Object.assign?Object.assign.bind():function(e){for(var t=1;t{o.current=!0}),E.useCallback(function(c,h){if(h===void 0&&(h={}),!o.current)return;if(typeof c=="number"){r.go(c);return}let m=Zp(c,JSON.parse(a),i,h.relative==="path");e==null&&t!=="/"&&(m.pathname=m.pathname==="/"?t:_t([t,m.pathname])),(h.replace?r.replace:r.push)(m,h.state,h)},[t,r,a,i,e])}function im(e,t){return am(e,t)}function am(e,t,n,r){_l()||J(!1);let{navigator:l}=E.useContext(El),{matches:i}=E.useContext(mn),a=i[i.length-1],o=a?a.params:{};a&&a.pathname;let u=a?a.pathnameBase:"/";a&&a.route;let c=Dc(),h;if(t){var m;let j=typeof t=="string"?pn(t):t;u==="/"||(m=j.pathname)!=null&&m.startsWith(u)||J(!1),h=j}else h=c;let v=h.pathname||"/",x=v;if(u!=="/"){let j=u.replace(/^\//,"").split("/");x="/"+v.replace(/^\//,"").split("/").slice(j.length).join("/")}let w=Lp(e,{pathname:x}),k=dm(w&&w.map(j=>Object.assign({},j,{params:Object.assign({},o,j.params),pathname:_t([u,l.encodeLocation?l.encodeLocation(j.pathname).pathname:j.pathname]),pathnameBase:j.pathnameBase==="/"?u:_t([u,l.encodeLocation?l.encodeLocation(j.pathnameBase).pathname:j.pathnameBase])})),i,n,r);return t&&k?E.createElement(zl.Provider,{value:{location:rr({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:it.Pop}},k):k}function sm(){let e=hm(),t=em(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return E.createElement(E.Fragment,null,E.createElement("h2",null,"Unexpected Application Error!"),E.createElement("h3",{style:{fontStyle:"italic"}},t),n?E.createElement("pre",{style:l},n):null,null)}const om=E.createElement(sm,null);class um extends E.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,n){return n.location!==t.location||n.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:n.error,location:n.location,revalidation:t.revalidation||n.revalidation}}componentDidCatch(t,n){console.error("React Router caught the following error during render",t,n)}render(){return this.state.error!==void 0?E.createElement(mn.Provider,{value:this.props.routeContext},E.createElement(Ac.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function cm(e){let{routeContext:t,match:n,children:r}=e,l=E.useContext(Ya);return l&&l.static&&l.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=n.route.id),E.createElement(mn.Provider,{value:t},r)}function dm(e,t,n,r){var l;if(t===void 0&&(t=[]),n===void 0&&(n=null),r===void 0&&(r=null),e==null){var i;if(!n)return null;if(n.errors)e=n.matches;else if((i=r)!=null&&i.v7_partialHydration&&t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let a=e,o=(l=n)==null?void 0:l.errors;if(o!=null){let h=a.findIndex(m=>m.route.id&&(o==null?void 0:o[m.route.id])!==void 0);h>=0||J(!1),a=a.slice(0,Math.min(a.length,h+1))}let u=!1,c=-1;if(n&&r&&r.v7_partialHydration)for(let h=0;h=0?a=a.slice(0,c+1):a=[a[0]];break}}}return a.reduceRight((h,m,v)=>{let x,w=!1,k=null,j=null;n&&(x=o&&m.route.id?o[m.route.id]:void 0,k=m.route.errorElement||om,u&&(c<0&&v===0?(gm("route-fallback"),w=!0,j=null):c===v&&(w=!0,j=m.route.hydrateFallbackElement||null)));let f=t.concat(a.slice(0,v+1)),d=()=>{let p;return x?p=k:w?p=j:m.route.Component?p=E.createElement(m.route.Component,null):m.route.element?p=m.route.element:p=h,E.createElement(cm,{match:m,routeContext:{outlet:h,matches:f,isDataRoute:n!=null},children:p})};return n&&(m.route.ErrorBoundary||m.route.errorElement||v===0)?E.createElement(um,{location:n.location,revalidation:n.revalidation,component:k,error:x,children:d(),routeContext:{outlet:null,matches:f,isDataRoute:!0}}):d()},null)}var Uc=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Uc||{}),$c=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}($c||{});function fm(e){let t=E.useContext(Ya);return t||J(!1),t}function pm(e){let t=E.useContext(nm);return t||J(!1),t}function mm(e){let t=E.useContext(mn);return t||J(!1),t}function Vc(e){let t=mm(),n=t.matches[t.matches.length-1];return n.route.id||J(!1),n.route.id}function hm(){var e;let t=E.useContext(Ac),n=pm(),r=Vc();return t!==void 0?t:(e=n.errors)==null?void 0:e[r]}function vm(){let{router:e}=fm(Uc.UseNavigateStable),t=Vc($c.UseNavigateStable),n=E.useRef(!1);return Bc(()=>{n.current=!0}),E.useCallback(function(l,i){i===void 0&&(i={}),n.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,rr({fromRouteId:t},i)))},[e,t])}const fo={};function gm(e,t,n){fo[e]||(fo[e]=!0)}function ym(e,t){e==null||e.v7_startTransition,e==null||e.v7_relativeSplatPath}function Pn(e){J(!1)}function xm(e){let{basename:t="/",children:n=null,location:r,navigationType:l=it.Pop,navigator:i,static:a=!1,future:o}=e;_l()&&J(!1);let u=t.replace(/^\/*/,"/"),c=E.useMemo(()=>({basename:u,navigator:i,static:a,future:rr({v7_relativeSplatPath:!1},o)}),[u,o,i,a]);typeof r=="string"&&(r=pn(r));let{pathname:h="/",search:m="",hash:v="",state:x=null,key:w="default"}=r,k=E.useMemo(()=>{let j=Oc(h,u);return j==null?null:{location:{pathname:j,search:m,hash:v,state:x,key:w},navigationType:l}},[u,h,m,v,x,w,l]);return k==null?null:E.createElement(El.Provider,{value:c},E.createElement(zl.Provider,{children:n,value:k}))}function wm(e){let{children:t,location:n}=e;return im(ea(t),n)}new Promise(()=>{});function ea(e,t){t===void 0&&(t=[]);let n=[];return E.Children.forEach(e,(r,l)=>{if(!E.isValidElement(r))return;let i=[...t,l];if(r.type===E.Fragment){n.push.apply(n,ea(r.props.children,i));return}r.type!==Pn&&J(!1),!r.props.index||!r.props.children||J(!1);let a={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,loader:r.props.loader,action:r.props.action,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(a.children=ea(r.props.children,i)),n.push(a)}),n}/** * React Router DOM v6.30.1 * * Copyright (c) Remix Software Inc. * * This source code is licensed under the MIT license found in the * LICENSE.md file in the root directory of this source tree. * * @license MIT */const km="6";try{window.__reactRouterVersion=km}catch{}const Sm="startTransition",po=hd[Sm];function Nm(e){let{basename:t,children:n,future:r,window:l}=e,i=E.useRef();i.current==null&&(i.current=_p({window:l,v5Compat:!0}));let a=i.current,[o,u]=E.useState({action:a.action,location:a.location}),{v7_startTransition:c}=r||{},h=E.useCallback(m=>{c&&po?po(()=>u(m)):u(m)},[u,c]);return E.useLayoutEffect(()=>a.listen(h),[a,h]),E.useEffect(()=>ym(r),[r]),E.createElement(xm,{basename:t,children:n,location:o.location,navigationType:o.action,navigator:a,future:r})}var mo;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(mo||(mo={}));var ho;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ho||(ho={}));/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const jm=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Wc=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var Cm={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Em=E.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:l="",children:i,iconNode:a,...o},u)=>E.createElement("svg",{ref:u,...Cm,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Wc("lucide",l),...o},[...a.map(([c,h])=>E.createElement(c,h)),...Array.isArray(i)?i:[i]]));/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const F=(e,t)=>{const n=E.forwardRef(({className:r,...l},i)=>E.createElement(Em,{ref:i,iconNode:t,className:Wc(`lucide-${jm(e)}`,r),...l}));return n.displayName=`${e}`,n};/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Hc=F("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Za=F("Award",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Pl=F("BookOpen",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const zm=F("Briefcase",[["path",{d:"M16 20V4a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16",key:"jecpp"}],["rect",{width:"20",height:"14",x:"2",y:"6",rx:"2",key:"i6l2r4"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Kc=F("Building2",[["path",{d:"M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18Z",key:"1b4qmf"}],["path",{d:"M6 12H4a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h2",key:"i71pzd"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-2",key:"10jefs"}],["path",{d:"M10 6h4",key:"1itunk"}],["path",{d:"M10 10h4",key:"tcdvrf"}],["path",{d:"M10 14h4",key:"kelpxr"}],["path",{d:"M10 18h4",key:"1ulq68"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const _m=F("Building",[["rect",{width:"16",height:"20",x:"4",y:"2",rx:"2",ry:"2",key:"76otgf"}],["path",{d:"M9 22v-4h6v4",key:"r93iot"}],["path",{d:"M8 6h.01",key:"1dz90k"}],["path",{d:"M16 6h.01",key:"1x0f13"}],["path",{d:"M12 6h.01",key:"1vi96p"}],["path",{d:"M12 10h.01",key:"1nrarc"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 10h.01",key:"19clt8"}],["path",{d:"M8 14h.01",key:"6423bh"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Pm=F("ChartNoAxesColumn",[["line",{x1:"18",x2:"18",y1:"20",y2:"10",key:"1xfpm4"}],["line",{x1:"12",x2:"12",y1:"20",y2:"4",key:"be30l9"}],["line",{x1:"6",x2:"6",y1:"20",y2:"14",key:"1r4le6"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Mm=F("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const vo=F("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Qc=F("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Lm=F("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Rm=F("DollarSign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Tm=F("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Xc=F("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Im=F("Handshake",[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Om=F("Landmark",[["line",{x1:"3",x2:"21",y1:"22",y2:"22",key:"j8o0r"}],["line",{x1:"6",x2:"6",y1:"18",y2:"11",key:"10tf0k"}],["line",{x1:"10",x2:"10",y1:"18",y2:"11",key:"54lgf6"}],["line",{x1:"14",x2:"14",y1:"18",y2:"11",key:"380y"}],["line",{x1:"18",x2:"18",y1:"18",y2:"11",key:"1kevvc"}],["polygon",{points:"12 2 20 7 4 7",key:"jkujk7"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Fm=F("Layers",[["path",{d:"m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83Z",key:"8b97xw"}],["path",{d:"m22 17.65-9.17 4.16a2 2 0 0 1-1.66 0L2 17.65",key:"dd6zsq"}],["path",{d:"m22 12.65-9.17 4.16a2 2 0 0 1-1.66 0L2 12.65",key:"ep9fru"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Am=F("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Dm=F("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Bm=F("Menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Um=F("Phone",[["path",{d:"M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z",key:"foiqr5"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $m=F("Scale",[["path",{d:"m16 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"7g6ntu"}],["path",{d:"m2 16 3-8 3 8c-.87.65-1.92 1-3 1s-2.13-.35-3-1Z",key:"ijws7r"}],["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"M3 7h2c2 0 5-1 7-2 2 1 5 2 7 2h2",key:"3gwbw2"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const It=F("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Vm=F("Target",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Gc=F("TrendingUp",[["polyline",{points:"22 7 13.5 15.5 8.5 10.5 2 17",key:"126l90"}],["polyline",{points:"16 7 22 7 22 13",key:"kwv8wd"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Yc=F("Users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Wm=F("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);/** * @license lucide-react v0.462.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Hm=F("Zap",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Km=[{label:"Equity Investment",href:"/services/equity"},{label:"Debt Financing",href:"/services/debt-financing/"},{label:"Asset Management",href:"/services/asset-management"},{label:"Advisory",href:"/services/advisory"}];function Qm(){const[e,t]=E.useState(!1),[n,r]=E.useState(!1);return s.jsx("header",{className:"bg-navy border-b border-white/10 sticky top-0 z-50",children:s.jsxs("div",{className:"almanza-container",children:[s.jsxs("div",{className:"flex items-center justify-between h-16",children:[s.jsxs("a",{href:"/",className:"flex flex-col leading-none",children:[s.jsx("span",{className:"text-white font-semibold text-lg tracking-wide",children:"ALMANZA"}),s.jsx("span",{className:"text-gold text-[10px] tracking-[0.2em] font-medium uppercase",children:"Investment Company KSCC"})]}),s.jsxs("nav",{className:"hidden lg:flex items-center gap-8",children:[s.jsx("a",{href:"/",className:"text-white/70 hover:text-white text-sm font-medium transition-colors",children:"Home"}),s.jsx("a",{href:"/about",className:"text-white/70 hover:text-white text-sm font-medium transition-colors",children:"About"}),s.jsxs("div",{className:"relative",children:[s.jsxs("button",{onClick:()=>r(!n),className:"flex items-center gap-1 text-white text-sm font-medium transition-colors",children:["Services ",s.jsx(Mm,{size:14})]}),n&&s.jsx("div",{className:"absolute top-full left-0 mt-2 w-52 bg-white border border-almanza-border shadow-lg py-1",children:Km.map(l=>s.jsx("a",{href:l.href,className:"block px-4 py-2.5 text-sm text-almanza-text hover:bg-almanza-bg hover:text-navy transition-colors",children:l.label},l.label))})]}),s.jsx("a",{href:"/investor-relations",className:"text-white/70 hover:text-white text-sm font-medium transition-colors",children:"Investor Relations"}),s.jsx("a",{href:"/contact",className:"text-white/70 hover:text-white text-sm font-medium transition-colors",children:"Contact"})]}),s.jsxs("div",{className:"hidden lg:flex items-center gap-4",children:[s.jsx("a",{href:"#",className:"text-white/60 hover:text-gold text-xs tracking-widest uppercase transition-colors font-tajawal",children:"العربية"}),s.jsx("a",{href:"/contact/schedule-consultation",className:"gold-btn text-xs py-2 px-5",children:"Schedule Consultation"})]}),s.jsx("button",{onClick:()=>t(!e),className:"lg:hidden text-white p-2","aria-label":"Toggle menu",children:e?s.jsx(Wm,{size:20}):s.jsx(Bm,{size:20})})]}),e&&s.jsxs("nav",{className:"lg:hidden border-t border-white/10 py-4 flex flex-col gap-1",children:[["Home","About","Services","Investor Relations","Contact"].map(l=>s.jsx("a",{href:"#",className:"text-white/80 hover:text-white px-2 py-2.5 text-sm font-medium",children:l},l)),s.jsx("a",{href:"/contact/schedule-consultation",className:"gold-btn text-xs mt-3 w-fit",children:"Schedule Consultation"})]})]})})}function Xm(){const e=new Date().getFullYear();return s.jsxs("footer",{className:"bg-navy border-t-2 border-gold",children:[s.jsxs("div",{className:"almanza-container py-12",children:[s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-4 gap-10 mb-10",children:[s.jsxs("div",{className:"lg:col-span-2",children:[s.jsxs("div",{className:"mb-4",children:[s.jsx("span",{className:"text-white font-semibold text-xl tracking-wide block",children:"ALMANZA"}),s.jsx("span",{className:"text-gold text-[10px] tracking-[0.2em] font-medium uppercase",children:"Investment Company KSCC"})]}),s.jsx("p",{className:"text-white/60 text-sm leading-relaxed max-w-sm mb-3",children:"A Kuwaiti Shareholding Company incorporated in the State of Kuwait in 1998. Licensed by the Capital Markets Authority (CMA) of Kuwait and regulated by the Central Bank of Kuwait (CBK) where applicable."}),s.jsx("p",{className:"text-white/40 text-xs font-tajawal text-right leading-relaxed",children:"شركة ألمانزا للاستثمار — شركة مساهمة كويتية مرخصة من هيئة أسواق المال"})]}),s.jsxs("div",{children:[s.jsx("h4",{className:"text-white/90 font-semibold text-sm uppercase tracking-widest mb-4",children:"Services"}),s.jsx("ul",{className:"space-y-2.5",children:["Equity Investment","Debt Financing","Asset Management","Sukuk Issuance","Advisory Services"].map(t=>s.jsx("li",{children:s.jsx("a",{href:"#",className:"text-white/50 hover:text-gold text-sm transition-colors",children:t})},t))})]}),s.jsxs("div",{children:[s.jsx("h4",{className:"text-white/90 font-semibold text-sm uppercase tracking-widest mb-4",children:"Regulatory"}),s.jsx("div",{className:"space-y-2",children:[{icon:It,text:"CMA License No. XXX"},{icon:It,text:"CBK Regulated"},{icon:Za,text:"Ministry of Commerce"},{icon:Pl,text:"Shari'a Certified"}].map(({icon:t,text:n})=>s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx(t,{size:13,className:"text-gold flex-shrink-0"}),s.jsx("span",{className:"text-white/50 text-xs",children:n})]},n))}),s.jsx("div",{className:"mt-4 pt-4 border-t border-white/10",children:s.jsx("p",{className:"text-white/30 text-xs",children:"All investment activities are Shari'a-compliant and supervised by our independent Shari'a Supervisory Board."})})]})]}),s.jsxs("div",{className:"border-t border-white/10 pt-6 flex flex-col md:flex-row items-center justify-between gap-3",children:[s.jsxs("p",{className:"text-white/30 text-xs",children:["© ",e," Almanza Investment Company KSCC. All rights reserved. CMA License No. XXX."]}),s.jsxs("div",{className:"flex items-center gap-4",children:[s.jsx("a",{href:"#",className:"text-white/30 hover:text-white/60 text-xs transition-colors",children:"Privacy Policy"}),s.jsx("a",{href:"#",className:"text-white/30 hover:text-white/60 text-xs transition-colors",children:"Terms of Use"}),s.jsx("a",{href:"#",className:"text-white/30 hover:text-white/60 text-xs transition-colors",children:"Disclosures"})]})]})]}),s.jsx("div",{className:"bg-black/30 py-3",children:s.jsx("div",{className:"almanza-container",children:s.jsx("p",{className:"text-white/25 text-[10px] leading-relaxed text-center",children:"Investment products and services offered by Almanza Investment Company KSCC are not deposits or obligations of, nor are they guaranteed or insured by, any bank or financial institution. All investments are subject to risk, including possible loss of principal. Past performance is not indicative of future results. This page is for informational purposes only and does not constitute an offer or solicitation in any jurisdiction where such offer would be unlawful. All debt financing products are Shari'a-compliant as certified by the Shari'a Supervisory Board."})})})]})}const Gm="/assets/hero-debt-financing-CEM-v01S.jpg";function Ym(){return s.jsxs("section",{className:"relative overflow-hidden",children:[s.jsxs("div",{className:"absolute inset-0",children:[s.jsx("img",{src:Gm,alt:"Almanza Debt Financing",className:"w-full h-full object-cover"}),s.jsx("div",{className:"absolute inset-0 bg-navy/85"}),s.jsx("div",{className:"absolute inset-0 bg-gradient-to-r from-navy/60 via-transparent to-transparent"})]}),s.jsxs("div",{className:"relative almanza-container py-20 lg:py-28",children:[s.jsxs("nav",{className:"flex items-center gap-2 text-white/40 text-xs mb-8","aria-label":"Breadcrumb",children:[s.jsx("a",{href:"/",className:"hover:text-gold transition-colors",children:"Home"}),s.jsx(vo,{size:12}),s.jsx("a",{href:"/services/",className:"hover:text-gold transition-colors",children:"Services"}),s.jsx(vo,{size:12}),s.jsx("span",{className:"text-gold",children:"Debt Financing"})]}),s.jsxs("div",{className:"max-w-3xl",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[s.jsx("div",{className:"w-10 h-0.5 bg-gold"}),s.jsx("span",{className:"text-gold text-xs font-medium uppercase tracking-widest",children:"Almanza Investment Company KSCC"})]}),s.jsx("h1",{className:"text-4xl lg:text-5xl font-semibold text-white leading-tight mb-2",children:"Debt Financing"}),s.jsx("p",{className:"text-2xl lg:text-3xl font-tajawal text-white/70 mb-6",dir:"rtl",children:"تمويل الديون"}),s.jsx("p",{className:"text-gold text-lg font-medium mb-8 leading-relaxed",children:"Your Preferred Partner for Debt Financing in the GCC"}),s.jsx("div",{className:"bg-white/5 border border-white/15 p-5 mb-8 max-w-2xl",children:s.jsxs("div",{className:"flex items-start gap-3",children:[s.jsx(It,{size:16,className:"text-gold mt-0.5 flex-shrink-0"}),s.jsxs("p",{className:"text-white/65 text-xs leading-relaxed",children:["Almanza Investment Company KSCC is a Kuwaiti Shareholding Company, incorporated in the State of Kuwait in 1998. Licensed by the ",s.jsx("strong",{className:"text-white/80",children:"Capital Markets Authority (CMA) of Kuwait"})," (License No. XXX) and regulated by the ",s.jsx("strong",{className:"text-white/80",children:"Central Bank of Kuwait (CBK)"})," where applicable, in accordance with the Kuwait Ministry of Commerce and Industry. All debt financing solutions are ",s.jsx("strong",{className:"text-gold",children:"Shari'a-compliant"}),"."]})]})}),s.jsxs("div",{className:"flex flex-wrap items-center gap-4",children:[s.jsx("a",{href:"/contact/schedule-consultation",className:"gold-btn",children:"Schedule a Consultation →"}),s.jsx("a",{href:"#solutions",className:"outline-btn border-white/30 text-white hover:bg-white/10 hover:border-white/50",children:"View Financing Solutions"})]})]})]}),s.jsx("div",{className:"relative h-0.5 bg-gold/40"})]})}const Zm=[{icon:Kc,label:"Debt Financing Since",value:"1998",sub:"منذ عام ١٩٩٨"},{icon:Gc,label:"Debt AUM",value:"$3.5B",sub:"أصول تحت الإدارة"},{icon:Yc,label:"Ownership Structure",value:"KSCC",sub:"شركة مساهمة كويتية"}];function Jm(){return s.jsx("section",{className:"bg-almanza-bg py-16",children:s.jsxs("div",{className:"almanza-container",children:[s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-3 gap-6 mb-12",children:Zm.map(({icon:e,label:t,value:n,sub:r})=>s.jsxs("div",{className:"metric-card p-6",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"w-9 h-9 bg-navy flex items-center justify-center flex-shrink-0",children:s.jsx(e,{size:16,className:"text-gold"})}),s.jsx("span",{className:"text-almanza-text-secondary text-xs font-medium uppercase tracking-widest",children:t})]}),s.jsx("p",{className:"text-3xl font-semibold text-navy mb-1",children:n}),s.jsx("p",{className:"font-tajawal text-almanza-text-secondary text-sm",dir:"rtl",children:r})]},t))}),s.jsxs("div",{className:"max-w-4xl",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"section-divider"}),s.jsx("span",{className:"text-almanza-text-secondary text-xs uppercase tracking-widest font-medium",children:"Service Overview"})]}),s.jsx("h2",{className:"section-title mb-2",children:"About Our Debt Financing Division"}),s.jsx("p",{className:"section-title-ar",children:"نظرة عامة على تمويل الديون"}),s.jsxs("p",{className:"text-almanza-text-secondary text-sm leading-relaxed mt-5 max-w-3xl",children:["Al Amal's Debt Financing team provides Shari'a-compliant financing solutions for corporations, institutions, and government-related entities across the GCC. We offer senior debt, mezzanine, bridge financing, and Sukuk issuance using Islamic structures such as ",s.jsx("em",{children:"Murabaha"}),","," ",s.jsx("em",{children:"Ijara"}),", and ",s.jsx("em",{children:"Musharaka"}),". Our team brings together decades of regional and international experience to deliver tailored, execution-ready financing solutions."]}),s.jsx("p",{className:"font-tajawal text-almanza-text-secondary text-sm leading-relaxed mt-4 max-w-3xl",dir:"rtl",children:"يقدم فريق تمويل الديون في ألمانزا حلولاً تمويلية متوافقة مع أحكام الشريعة الإسلامية للشركات والمؤسسات والكيانات الحكومية في منطقة دول مجلس التعاون الخليجي."})]})]})})}const qm=[{icon:Om,title:"Senior Debt",titleAr:"الدين الأول",tag:"First-Lien",description:"First-lien, Shari'a-compliant financing for established corporates and investment-grade issuers. Structured as Murabaha or Ijara facilities with clear security packages.",structures:["Murabaha","Ijara"],details:["First-lien security","Flexible tenor: 1–7 years","Competitive pricing","Investment-grade focus"]},{icon:Fm,title:"Mezzanine Debt",titleAr:"الدين الوسيط",tag:"Subordinated",description:"Subordinated financing for corporate expansions, leveraged acquisitions, and development stage projects. Structured as a Musharaka or hybrid Ijara facility.",structures:["Musharaka","Hybrid Ijara"],details:["Subordinated position","Equity kicker options","Flexible repayment","GCC focus"]},{icon:Lm,title:"Bridge Financing",titleAr:"التمويل الجسري",tag:"Short-Term",description:"Short-term financing for time-sensitive opportunities including acquisition bridges, capital markets bridges, and refinancing interim facilities.",structures:["Murabaha","Short-term Ijara"],details:["Tenors: 3–18 months","Fast execution","Acquisition bridges","Refinancing bridges"]},{icon:Xc,title:"Sukuk Issuance",titleAr:"إصدار الصكوك",tag:"Shari'a Bonds",description:"End-to-end structuring and placement of Shari'a-compliant bonds (Sukuk) for GCC sovereigns, quasi-sovereigns, and corporate issuers in local and international markets.",structures:["Sukuk Al-Ijara","Sukuk Al-Murabaha"],details:["Full structuring advisory","CMA submission support","Bookbuilding & placement","Listing: KSE / regional"]}];function bm(){return s.jsx("section",{id:"solutions",className:"bg-white py-16",children:s.jsxs("div",{className:"almanza-container",children:[s.jsxs("div",{className:"flex flex-col md:flex-row md:items-end justify-between mb-10 gap-4",children:[s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"section-divider"}),s.jsx("span",{className:"text-almanza-text-secondary text-xs uppercase tracking-widest font-medium",children:"Financing Solutions"})]}),s.jsx("h2",{className:"section-title mb-1",children:"Debt Financing Solutions"}),s.jsx("p",{className:"section-title-ar",children:"حلول تمويل الديون"})]}),s.jsx("p",{className:"text-almanza-text-secondary text-sm max-w-sm text-right hidden md:block",children:"Four distinct debt financing capabilities — all Shari'a-compliant, all GCC-focused."})]}),s.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-5",children:qm.map(({icon:e,title:t,titleAr:n,tag:r,description:l,structures:i,details:a})=>s.jsxs("div",{className:"solution-card group flex flex-col",children:[s.jsxs("div",{className:"flex items-start justify-between mb-4",children:[s.jsx("div",{className:"w-10 h-10 bg-navy-50 border border-navy/10 flex items-center justify-center",children:s.jsx(e,{size:18,className:"text-gold"})}),s.jsx("span",{className:"text-[10px] font-medium uppercase tracking-widest text-white bg-navy px-2 py-0.5",children:r})]}),s.jsx("h3",{className:"text-base font-semibold text-navy mb-0.5",children:t}),s.jsx("p",{className:"font-tajawal text-almanza-text-secondary text-xs mb-3",dir:"rtl",children:n}),s.jsx("p",{className:"text-almanza-text-secondary text-xs leading-relaxed mb-4 flex-1",children:l}),s.jsxs("div",{className:"mb-4",children:[s.jsx("p",{className:"text-[10px] uppercase tracking-widest text-almanza-text-secondary/60 mb-1.5",children:"Structures"}),s.jsx("div",{className:"flex flex-wrap gap-1.5",children:i.map(o=>s.jsx("span",{className:"text-[10px] font-medium text-gold bg-gold-50 border border-gold/30 px-2 py-0.5",children:o},o))})]}),s.jsx("ul",{className:"space-y-1 border-t border-almanza-border pt-4",children:a.map(o=>s.jsxs("li",{className:"flex items-center gap-2 text-xs text-almanza-text-secondary",children:[s.jsx("span",{className:"w-1.5 h-1.5 bg-gold flex-shrink-0"}),o]},o))})]},t))})]})})}const eh=[{icon:Rm,title:"Income Focus",titleAr:"التركيز على الدخل",description:"We prioritize stable, contractually based returns derived from asset-backed financing structures. Our portfolio targets predictable cash flows through Murabaha and Ijara instruments that provide regular periodic payments.",metric:"Target Return",metricValue:"8–12% p.a."},{icon:Am,title:"Capital Preservation",titleAr:"الحفاظ على رأس المال",description:"We lend exclusively against high-quality, tangible assets with strong, creditworthy sponsors. Our underwriting process involves rigorous due diligence on collateral, sponsor quality, and debt service coverage.",metric:"Default Rate",metricValue:"0.0% (Inception)"},{icon:Pl,title:"Shari'a Compliance",titleAr:"الامتثال للشريعة الإسلامية",description:"All financing structures are asset-backed and completely free from interest (riba). Each facility is reviewed and approved by our independent Shari'a Supervisory Board before execution.",metric:"Compliance Rate",metricValue:"100% Certified"}];function th(){return s.jsx("section",{className:"bg-almanza-bg py-16",children:s.jsxs("div",{className:"almanza-container",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"section-divider"}),s.jsx("span",{className:"text-almanza-text-secondary text-xs uppercase tracking-widest font-medium",children:"Investment Philosophy"})]}),s.jsx("h2",{className:"section-title mb-1",children:"Our Investment Philosophy"}),s.jsx("p",{className:"section-title-ar mb-10",children:"فلسفتنا الاستثمارية"}),s.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:eh.map(({icon:e,title:t,titleAr:n,description:r,metric:l,metricValue:i})=>s.jsxs("div",{className:"pillar-card group",children:[s.jsx("div",{className:"absolute top-0 left-0 w-full h-0.5 bg-gold"}),s.jsx("div",{className:"w-11 h-11 bg-navy flex items-center justify-center mb-5",children:s.jsx(e,{size:18,className:"text-gold"})}),s.jsx("h3",{className:"text-base font-semibold text-navy mb-1",children:t}),s.jsx("p",{className:"font-tajawal text-almanza-text-secondary text-xs mb-4",dir:"rtl",children:n}),s.jsx("p",{className:"text-almanza-text-secondary text-xs leading-relaxed mb-6",children:r}),s.jsxs("div",{className:"pt-4 border-t border-almanza-border flex items-center justify-between",children:[s.jsx("span",{className:"text-[10px] uppercase tracking-widest text-almanza-text-secondary/60",children:l}),s.jsx("span",{className:"text-sm font-semibold text-gold",children:i})]})]},t))})]})})}const nh=["Asset verification — real, tangible collateral required for all facilities","Prohibition of interest-based (riba) elements in all contractual documentation","Contractual structure approval — Murabaha, Ijara, or Musharaka sign-off","Borrower business activity screening — haram sectors excluded","Annual Shari'a compliance certificate issued for each active facility"],rh=["Shari'a Supervisory Board","Murabaha Structures","Ijara Structures","Musharaka Structures","Annual Compliance Certificate","No Riba (Interest)"];function lh(){return s.jsx("section",{className:"bg-white py-16",children:s.jsx("div",{className:"almanza-container",children:s.jsx("div",{className:"border-t-2 border-gold bg-white p-8 lg:p-10 shadow-sm",children:s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-10",children:[s.jsxs("div",{children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx(It,{size:20,className:"text-gold"}),s.jsx("div",{className:"section-divider"}),s.jsx("span",{className:"text-almanza-text-secondary text-xs uppercase tracking-widest font-medium",children:"Shari'a Compliance"})]}),s.jsx("h2",{className:"section-title mb-1",children:"Shari'a-Compliant Debt Financing Framework"}),s.jsx("p",{className:"section-title-ar mb-6",children:"إطار تمويل الديون المتوافق مع الشريعة"}),s.jsxs("p",{className:"text-almanza-text-secondary text-sm leading-relaxed mb-5",children:["All debt financing solutions at Almanza are structured in strict accordance with Islamic principles, overseen by our independent ",s.jsx("strong",{className:"text-navy",children:"Shari'a Supervisory Board"}),". We use Shari'a-compliant structures — ",s.jsx("em",{children:"Murabaha"})," (cost-plus financing),"," ",s.jsx("em",{children:"Ijara"})," (leasing), and ",s.jsx("em",{children:"Musharaka"})," (profit-sharing partnership) — as direct replacements for conventional interest-based loan products."]}),s.jsx("p",{className:"text-almanza-text-secondary text-sm leading-relaxed mb-6",children:"Each facility receives an individual Shari'a review prior to execution and is subject to an annual compliance audit by the Shari'a Supervisory Board. No facility may be executed without formal Shari'a clearance."}),s.jsx("p",{className:"font-tajawal text-almanza-text-secondary text-sm leading-relaxed",dir:"rtl",children:"جميع حلول تمويل الديون متوافقة مع أحكام الشريعة الإسلامية وتخضع لإشراف هيئة الرقابة الشرعية المستقلة. يُحظر تمامًا استخدام أي عناصر تحتوي على ربا في جميع الوثائق التعاقدية."})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-sm font-semibold text-navy uppercase tracking-widest mb-5",children:"Shari'a Screening Process"}),s.jsx("ul",{className:"space-y-3 mb-8",children:nh.map((e,t)=>s.jsxs("li",{className:"flex items-start gap-3",children:[s.jsx(Qc,{size:15,className:"text-gold flex-shrink-0 mt-0.5"}),s.jsx("span",{className:"text-almanza-text-secondary text-xs leading-relaxed",children:e})]},t))}),s.jsx("h3",{className:"text-sm font-semibold text-navy uppercase tracking-widest mb-3",children:"Compliance Certifications"}),s.jsx("div",{className:"flex flex-wrap gap-2",children:rh.map(e=>s.jsx("span",{className:"reg-badge",children:e},e))})]})]})})})})}const ih=[{icon:Gc,label:"Total Facilities Originated",labelAr:"إجمالي التسهيلات",value:"$3.5B",desc:"Aggregate volume since inception (1998)"},{icon:zm,label:"Average Facility Size",labelAr:"متوسط حجم التسهيل",value:"$50M",desc:"Across corporate and institutional mandates"},{icon:Qc,label:"Portfolio Default Rate",labelAr:"معدل التعثر",value:"0.0%",desc:"Zero defaults since inception"},{icon:Za,label:"Repeat Client Rate",labelAr:"معدل العملاء المتكررين",value:"86%",desc:"Clients returning for second mandate"}],ah=[{type:"Senior Debt",title:"GCC Industrial Group — $180M Murabaha Facility",year:"2024",outcome:"Closed 60 days from mandate. First-lien Murabaha over production assets. Annual Shari'a certificate issued."},{type:"Sukuk Issuance",title:"Regional Developer — $250M Sukuk Al-Ijara",year:"2023",outcome:"Listed on KSE. CMA approved prospectus. Oversubscribed 2.3x. Shari'a Supervisory Board approved."},{type:"Bridge Financing",title:"Kuwaiti Conglomerate — $75M Acquisition Bridge",year:"2024",outcome:"12-month bridge to permanent Murabaha refinancing. Closed in 21 business days."}];function sh(){return s.jsx("section",{className:"bg-almanza-bg py-16",children:s.jsxs("div",{className:"almanza-container",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"section-divider"}),s.jsx("span",{className:"text-almanza-text-secondary text-xs uppercase tracking-widest font-medium",children:"Track Record"})]}),s.jsx("h2",{className:"section-title mb-1",children:"Our Success Stories"}),s.jsx("p",{className:"section-title-ar mb-10",children:"قصص نجاحنا"}),s.jsx("div",{className:"grid grid-cols-2 lg:grid-cols-4 gap-5 mb-12",children:ih.map(({icon:e,label:t,labelAr:n,value:r,desc:l})=>s.jsxs("div",{className:"bg-white border border-almanza-border p-6 relative group hover:border-gold/40 transition-colors",children:[s.jsx("div",{className:"absolute top-0 left-0 w-full h-0.5 bg-gold/40 group-hover:bg-gold transition-colors"}),s.jsx(e,{size:18,className:"text-gold mb-3"}),s.jsx("p",{className:"text-2xl lg:text-3xl font-semibold text-navy mb-1",children:r}),s.jsx("p",{className:"text-xs font-medium text-almanza-text mb-1",children:t}),s.jsx("p",{className:"font-tajawal text-almanza-text-secondary text-[10px] mb-2",dir:"rtl",children:n}),s.jsx("p",{className:"text-[10px] text-almanza-text-secondary/60 leading-relaxed",children:l})]},t))}),s.jsx("h3",{className:"text-sm font-semibold text-navy uppercase tracking-widest mb-5",children:"Representative Transactions"}),s.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-5",children:ah.map(({type:e,title:t,year:n,outcome:r})=>s.jsxs("div",{className:"bg-white border border-almanza-border p-6 flex flex-col",children:[s.jsxs("div",{className:"flex items-center justify-between mb-4",children:[s.jsx("span",{className:"text-[10px] font-medium uppercase tracking-widest text-white bg-navy px-2 py-0.5",children:e}),s.jsx("span",{className:"text-xs text-almanza-text-secondary/60",children:n})]}),s.jsx("h4",{className:"text-sm font-semibold text-navy mb-3 leading-snug",children:t}),s.jsx("p",{className:"text-xs text-almanza-text-secondary leading-relaxed flex-1",children:r}),s.jsx("div",{className:"mt-4 pt-4 border-t border-almanza-border",children:s.jsx("span",{className:"text-[10px] text-gold uppercase tracking-widest",children:"Shari'a Certified Transaction"})})]},t))})]})})}const oh=[{icon:Pl,en:"Work & Spread Knowledge",ar:"العمل ونشر المعرفة",desc:"We invest in continuous learning and knowledge-sharing across our teams and clients."},{icon:Vm,en:"Persevere",ar:"المثابرة",desc:"We pursue every mandate with determination, regardless of market complexity."},{icon:It,en:"Act with Integrity",ar:"العمل بنزاهة",desc:"Every transaction is executed with full transparency and absolute honesty."},{icon:$m,en:"Maintain Ethics",ar:"الحفاظ على الأخلاق",desc:"We uphold the highest ethical standards in all client and counterparty relationships."},{icon:Yc,en:"Invest in People",ar:"الاستثمار في الأشخاص",desc:"Our people are our greatest asset — we develop, retain, and reward top talent."}];function uh(){return s.jsx("section",{className:"bg-white py-16",children:s.jsxs("div",{className:"almanza-container",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"section-divider"}),s.jsx("span",{className:"text-almanza-text-secondary text-xs uppercase tracking-widest font-medium",children:"Our Foundation"})]}),s.jsx("h2",{className:"section-title mb-1",children:"Core Values"}),s.jsx("p",{className:"section-title-ar mb-10",children:"قيمنا الأساسية"}),s.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-5",children:oh.map(({icon:e,en:t,ar:n,desc:r})=>s.jsxs("div",{className:"value-card group",children:[s.jsx("div",{className:"w-10 h-10 bg-navy-50 border border-navy/10 flex items-center justify-center mx-auto mb-4 group-hover:bg-navy transition-colors",children:s.jsx(e,{size:16,className:"text-gold group-hover:text-gold"})}),s.jsx("h3",{className:"text-sm font-semibold text-navy mb-1 leading-snug",children:t}),s.jsx("p",{className:"font-tajawal text-almanza-text-secondary text-sm mb-3",dir:"rtl",children:n}),s.jsx("p",{className:"text-xs text-almanza-text-secondary/70 leading-relaxed",children:r})]},t))})]})})}const go=[{icon:Tm,title:"Transparency",titleAr:"الشفافية",description:"We provide clear, timely reporting to all facility participants with full disclosure at every stage — from term sheet through to annual compliance reporting.",items:["Quarterly portfolio reporting","CMA-compliant disclosures","Facility-level Shari'a audit"]},{icon:Im,title:"Alignment",titleAr:"التوافق",description:"Our financing solutions are tailored precisely to client goals, risk profiles, and capital structures. We do not offer standardized products — every mandate is structured to client specifications.",items:["Bespoke structuring","Risk-profile alignment","Sponsor co-investment available"]},{icon:Hm,title:"Execution Excellence",titleAr:"التميز في التنفيذ",description:"We have a proven track record in closing complex, cross-border financings within GCC timelines. Our team is known for speed without compromising regulatory compliance.",items:["Average close: 45 days","CMA filing support","Multi-jurisdictional capability"]}];function ch(){return s.jsx("section",{className:"bg-almanza-bg py-16",children:s.jsxs("div",{className:"almanza-container",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"section-divider"}),s.jsx("span",{className:"text-almanza-text-secondary text-xs uppercase tracking-widest font-medium",children:"Client Commitment"})]}),s.jsx("h2",{className:"section-title mb-1",children:"Our Commitment to Clients"}),s.jsx("p",{className:"section-title-ar mb-10",children:"التزامنا تجاه عملائنا"}),s.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:go.map(({icon:e,title:t,titleAr:n,description:r,items:l})=>s.jsxs("div",{className:"bg-white border border-almanza-border p-8 relative group hover:border-gold/40 transition-colors",children:[s.jsx("div",{className:"absolute top-6 right-6 text-4xl font-semibold text-navy/5 select-none",children:String(go.indexOf({icon:e,title:t,titleAr:n,description:r,items:l})+1).padStart(2,"0")}),s.jsx("div",{className:"w-11 h-11 bg-navy flex items-center justify-center mb-5",children:s.jsx(e,{size:18,className:"text-gold"})}),s.jsx("h3",{className:"text-base font-semibold text-navy mb-1",children:t}),s.jsx("p",{className:"font-tajawal text-almanza-text-secondary text-sm mb-4",dir:"rtl",children:n}),s.jsx("p",{className:"text-xs text-almanza-text-secondary leading-relaxed mb-5",children:r}),s.jsx("ul",{className:"space-y-2 pt-4 border-t border-almanza-border",children:l.map(i=>s.jsxs("li",{className:"flex items-center gap-2 text-xs text-almanza-text-secondary",children:[s.jsx("span",{className:"w-1.5 h-1.5 bg-gold flex-shrink-0"}),i]},i))})]},t))})]})})}const dh=[{icon:It,label:"CMA License No. XXX",sub:"Capital Markets Authority of Kuwait"},{icon:It,label:"CBK Regulated",sub:"Central Bank of Kuwait"},{icon:_m,label:"Ministry of Commerce",sub:"Kuwait Ministry of Commerce & Industry"},{icon:Pl,label:"Shari'a Certified",sub:"Independent Shari'a Supervisory Board"}],fh=[{title:"Best Islamic Debt Financing Provider – Kuwait",year:"2025",body:"Islamic Finance News (IFN) Awards"},{title:"Best Sukuk Structuring – GCC",year:"2024",body:"Global Islamic Finance Awards (GIFA)"},{title:"Most Innovative Shari'a-Compliant Financing – Kuwait",year:"2024",body:"MENA Finance Awards"},{title:"Excellence in Corporate Debt Financing – GCC",year:"2023",body:"Banker Middle East Awards"}];function ph(){return s.jsx("section",{className:"bg-white py-16",children:s.jsxs("div",{className:"almanza-container",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"section-divider"}),s.jsx("span",{className:"text-almanza-text-secondary text-xs uppercase tracking-widest font-medium",children:"Regulatory Compliance & Awards"})]}),s.jsx("h2",{className:"section-title mb-1",children:"Regulatory Compliance & Recognition"}),s.jsx("p",{className:"section-title-ar mb-10",children:"الامتثال التنظيمي والجوائز"}),s.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-10",children:[s.jsxs("div",{children:[s.jsx("h3",{className:"text-xs font-semibold text-navy uppercase tracking-widest mb-5",children:"Regulatory Framework"}),s.jsxs("p",{className:"text-almanza-text-secondary text-sm leading-relaxed mb-6",children:["Al Amal's debt financing activities operate under the direct supervision of the"," ",s.jsx("strong",{className:"text-navy",children:"Capital Markets Authority (CMA) of Kuwait"})," (License No. XXX) and the ",s.jsx("strong",{className:"text-navy",children:"Central Bank of Kuwait (CBK)"})," where applicable. Our governance framework complies with the ",s.jsx("strong",{className:"text-navy",children:"Kuwait Ministry of Commerce and Industry"})," regulations for Kuwaiti Shareholding Companies. The Shari'a Supervisory Board reviews all active financing facilities on an annual basis."]}),s.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3 mb-5",children:dh.map(({icon:e,label:t,sub:n})=>s.jsxs("div",{className:"flex items-start gap-3 border border-almanza-border p-4",children:[s.jsx("div",{className:"w-8 h-8 bg-navy-50 flex items-center justify-center flex-shrink-0",children:s.jsx(e,{size:14,className:"text-navy"})}),s.jsxs("div",{children:[s.jsx("p",{className:"text-xs font-semibold text-navy",children:t}),s.jsx("p",{className:"text-[10px] text-almanza-text-secondary/60 leading-tight mt-0.5",children:n})]})]},t))}),s.jsx("p",{className:"font-tajawal text-almanza-text-secondary text-xs leading-relaxed",dir:"rtl",children:"تعمل أنشطة تمويل الديون في ألمانزا تحت إشراف هيئة أسواق المال الكويتية والبنك المركزي الكويتي وتخضع جميع المنتجات التمويلية للمراجعة السنوية من قِبل هيئة الرقابة الشرعية المستقلة."})]}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xs font-semibold text-navy uppercase tracking-widest mb-5",children:"Awards & Recognition"}),s.jsx("div",{className:"space-y-4",children:fh.map(({title:e,year:t,body:n})=>s.jsxs("div",{className:"flex items-start gap-4 border-b border-almanza-border pb-4 last:border-0 last:pb-0",children:[s.jsxs("div",{className:"flex flex-col items-center",children:[s.jsx(Za,{size:18,className:"text-gold"}),s.jsx("span",{className:"text-[10px] text-gold font-semibold mt-1",children:t})]}),s.jsxs("div",{children:[s.jsx("p",{className:"text-sm font-semibold text-navy leading-snug mb-0.5",children:e}),s.jsx("p",{className:"text-[10px] text-almanza-text-secondary/60",children:n})]})]},e))})]})]})]})})}const mh=[{icon:Xc,title:"Annual Report",titleAr:"التقرير السنوي",desc:"Full performance, governance, and financial reporting for the current fiscal year. Includes audited financial statements, CMA disclosures, and the Shari'a Board's annual compliance report.",cta:"View Annual Report",href:"/investor-relations/annual-report",tag:"PDF Available"},{icon:Pm,title:"Investor Relations",titleAr:"علاقات المستثمرين",desc:"Quarterly financial results, CMA-mandated disclosures, shareholder communications, and corporate governance documentation for current and prospective investors.",cta:"Visit IR Center",href:"/investor-relations",tag:"Live Updates"},{icon:Kc,title:"Subsidiary Companies",titleAr:"الشركات التابعة",desc:"Al Amal's group of subsidiaries spans multiple sectors across the GCC, including Almanza Real Estate, Almanza Ventures, and Almanza Industrial Holdings.",cta:"View Subsidiaries",href:"/about/subsidiaries",tag:"3 Entities",subsidiaries:["Almanza Real Estate","Almanza Ventures","Almanza Industrial"]}];function hh(){return s.jsx("section",{className:"bg-almanza-bg py-16",children:s.jsxs("div",{className:"almanza-container",children:[s.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[s.jsx("div",{className:"section-divider"}),s.jsx("span",{className:"text-almanza-text-secondary text-xs uppercase tracking-widest font-medium",children:"Related Content"})]}),s.jsx("h2",{className:"section-title mb-1",children:"Further Information"}),s.jsx("p",{className:"section-title-ar mb-10",children:"مزيد من المعلومات"}),s.jsx("div",{className:"grid grid-cols-1 lg:grid-cols-3 gap-6",children:mh.map(({icon:e,title:t,titleAr:n,desc:r,cta:l,href:i,tag:a,subsidiaries:o})=>s.jsxs("div",{className:"related-card group",children:[s.jsxs("div",{className:"flex items-start justify-between mb-5",children:[s.jsx("div",{className:"w-10 h-10 bg-navy flex items-center justify-center",children:s.jsx(e,{size:16,className:"text-gold"})}),s.jsx("span",{className:"text-[10px] font-medium text-gold bg-gold-50 border border-gold/30 px-2 py-0.5",children:a})]}),s.jsx("h3",{className:"text-base font-semibold text-navy mb-0.5",children:t}),s.jsx("p",{className:"font-tajawal text-almanza-text-secondary text-sm mb-4",dir:"rtl",children:n}),s.jsx("p",{className:"text-xs text-almanza-text-secondary leading-relaxed mb-4 flex-1",children:r}),o&&s.jsx("ul",{className:"space-y-1.5 mb-4",children:o.map(u=>s.jsxs("li",{className:"flex items-center gap-2 text-xs text-almanza-text-secondary",children:[s.jsx("span",{className:"w-1.5 h-1.5 bg-gold flex-shrink-0"}),u]},u))}),s.jsxs("a",{href:i,className:"flex items-center gap-2 text-xs font-semibold text-gold hover:text-gold-500 transition-colors mt-auto pt-4 border-t border-almanza-border",children:[l," ",s.jsx(Hc,{size:12})]})]},t))})]})})}function vh(){return s.jsxs("section",{className:"bg-navy py-20 relative overflow-hidden",children:[s.jsx("div",{className:"absolute top-0 left-0 w-full h-0.5 bg-gold/40"}),s.jsx("div",{className:"absolute top-0 right-0 w-64 h-64 bg-gold/5 rounded-full translate-x-32 -translate-y-32 pointer-events-none"}),s.jsx("div",{className:"absolute bottom-0 left-0 w-96 h-96 bg-white/[0.02] rounded-full -translate-x-48 translate-y-48 pointer-events-none"}),s.jsx("div",{className:"almanza-container relative",children:s.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[s.jsxs("div",{className:"flex items-center justify-center gap-3 mb-6",children:[s.jsx("div",{className:"w-8 h-0.5 bg-gold/50"}),s.jsx("span",{className:"text-gold text-xs font-medium uppercase tracking-widest",children:"Almanza Investment Company KSCC"}),s.jsx("div",{className:"w-8 h-0.5 bg-gold/50"})]}),s.jsx("h2",{className:"text-3xl lg:text-4xl font-semibold text-white mb-3 leading-tight",children:"Become a Partner"}),s.jsx("p",{className:"font-tajawal text-white/50 text-xl mb-6",dir:"rtl",children:"كن شريكاً معنا"}),s.jsx("p",{className:"text-white/60 text-sm leading-relaxed max-w-xl mx-auto mb-10",children:"Almanza provides Shari'a-compliant debt financing solutions for corporations, institutions, and government-related entities across the GCC. Speak with our debt financing team to explore your financing options — from senior debt and mezzanine to Sukuk issuance."}),s.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-4 mb-12",children:[s.jsxs("a",{href:"/contact/schedule-consultation",className:"gold-btn text-sm",children:["Schedule a Consultation ",s.jsx(Hc,{size:14})]}),s.jsx("a",{href:"/contact",className:"flex items-center gap-2 text-white/60 hover:text-white text-sm font-medium transition-colors border border-white/20 hover:border-white/40 px-6 py-3.5",children:"Contact Our Team"})]}),s.jsxs("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-8 pt-8 border-t border-white/10",children:[s.jsxs("a",{href:"tel:+96522000000",className:"flex items-center gap-2 text-white/40 hover:text-white/70 text-xs transition-colors",children:[s.jsx(Um,{size:13}),"+965 2200 0000 (Main)"]}),s.jsxs("a",{href:"mailto:debt@almanza-investment.com",className:"flex items-center gap-2 text-white/40 hover:text-white/70 text-xs transition-colors",children:[s.jsx(Dm,{size:13}),"debt@almanza-investment.com"]})]})]})})]})}function ai(){return s.jsxs("div",{className:"min-h-screen flex flex-col",children:[s.jsx(Qm,{}),s.jsx(Ym,{}),s.jsx(Jm,{}),s.jsx(bm,{}),s.jsx(th,{}),s.jsx(lh,{}),s.jsx(sh,{}),s.jsx(uh,{}),s.jsx(ch,{}),s.jsx(ph,{}),s.jsx(hh,{}),s.jsx(vh,{}),s.jsx(Xm,{})]})}function gh(){const e=rm();return s.jsxs("div",{className:"min-h-screen bg-white flex flex-col items-center justify-center",children:[s.jsx("p",{className:"text-almanza-text-secondary text-sm uppercase tracking-widest mb-2",children:"404"}),s.jsx("h1",{className:"text-2xl font-semibold text-navy mb-6",children:"Page Not Found"}),s.jsx("button",{onClick:()=>e("/"),className:"gold-btn",children:"Return to Debt Financing"})]})}function yh(){return s.jsx(Nm,{children:s.jsxs(wm,{children:[s.jsx(Pn,{path:"/",element:s.jsx(ai,{})}),s.jsx(Pn,{path:"/services/debt-financing/",element:s.jsx(ai,{})}),s.jsx(Pn,{path:"/services/debt-financing",element:s.jsx(ai,{})}),s.jsx(Pn,{path:"*",element:s.jsx(gh,{})})]})})}Mc(document.getElementById("root")).render(s.jsx(E.StrictMode,{children:s.jsx(yh,{})}));